package com.qing.microservices.nacosprovider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author guoqf
 * @date 2021/3/29 14:28
 */
@RestController
public class EchoController {

    @GetMapping("/echo")
    public String sayHello(@RequestParam("name") String name) {
        return "echo: " + name;
    }
}
